/**
 * Sidebar for Examples
 */

// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
  examplesSidebar: [
    {
      type: "doc",
      id: "index",
      label: "Overview",
    },
    {
      type: "category",
      label: "Workflows",
      collapsed: true,
      items: [
        {
          type: "doc",
          id: "workflows/inngest-workflow",
          label: "Inngest Workflow",
        },
      ],
    },
    {
      type: "category",
      label: "RAG",
      collapsed: true,
      items: [
        {
          type: "category",
          label: "Embedding",
          items: [
            {
              type: "doc",
              id: "rag/embedding/metadata-extraction",
              label: "Metadata Extraction",
            },
          ],
        },
        {
          type: "category",
          label: "Query",
          items: [
            {
              type: "doc",
              id: "rag/query/hybrid-vector-search",
              label: "Hybrid Vector Search",
            },
          ],
        },
        {
          type: "category",
          label: "Usage",
          items: [
            {
              type: "doc",
              id: "rag/usage/cleanup-rag",
              label: "Optimizing Information Density",
            },
            {
              type: "doc",
              id: "rag/usage/filter-rag",
              label: "Metadata Filtering",
            },
            {
              type: "doc",
              id: "rag/usage/cot-rag",
              label: "Chain of Thought Prompting",
            },
            {
              type: "doc",
              id: "rag/usage/cot-workflow-rag",
              label: "Structured Reasoning with Workflows",
            },
            {
              type: "doc",
              id: "rag/usage/graph-rag",
              label: "Graph RAG",
            },
            {
              type: "doc",
              id: "rag/usage/database-specific-config",
              label: "Database-Specific Configurations",
            },
          ],
        },
      ],
    },
    {
      type: "category",
      label: "Voice",
      collapsed: true,
      items: [
        { type: "doc", id: "voice/text-to-speech", label: "Text to Speech" },
        { type: "doc", id: "voice/speech-to-text", label: "Speech to Text" },
        { type: "doc", id: "voice/turn-taking", label: "Turn Taking" },
        {
          type: "doc",
          id: "voice/speech-to-speech",
          label: "Speech to Speech",
        },
      ],
    },
  ],
};

export default sidebars;
